package com.lagou.edu.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient( value = "lagou-service-code" )
public interface CodeService {

    @RequestMapping(value = "/code/validate/{email}/{code}")
    public String validateCode(@PathVariable(value = "email") String email, @PathVariable(value = "code") String code);

}
